// 购物车里面的action

let getCartActions =(name)=>{
    return{
        type:'ADD_CART',
        name:name
    }
}
// 删除按钮
let removeCartActions =(index)=>{
return{
    type:"REMOVE_CART",
    index:index

}
}
export {
    getCartActions,
    removeCartActions
}